################################################
# GenNQComponentDefXsdClasses.ps1
#
# Generates stub classes from the XSD file
# defining the NQComponent XML format.
#
# Copyright (c) 2011 Andreas Weizel
################################################

# Load configuration
./ToolConfig.ps1

$destPath = (resolve-path ../NQCore/NQServices/Serialization)
$oldPath = (get-location)
cd $env:WinSDKDir
./xsd.exe $destPath\NQComponentDefinition.xsd /classes /language:CS /namespace:AWZhome.NQ.Core.Serialization.XmlStub /out:$destPath
cd $oldPath
